#ifndef MOTOR_CAM_H_INCLUDED
#define MOTOR_CAM_H_INCLUDED

#include "mhdef.h"
#include "udp.h"


#define ID_MOTOR_CAM    0x42


#define ID_CAM_MOTOR_DELTA      0x44

int motor_cam_exec(MH_UDP *pudp, int ctype, short *delta, short *find_zero);
int motor_cam_reset(MH_UDP *pudp, int ctype, short *find_zero);
int motor_cam_set_zero_delta(MH_UDP *pudp, char *delta);

#endif // MOTOR_CAM_H
